package com.pmcc.yn.repository;

import com.pmcc.yn.entity.AttentionInfo;
import com.pmcc.yn.entity.EntryInfo;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface AttentionInfoRepository extends JpaRepository<AttentionInfo,String> {
    List<AttentionInfo> findByOrderIdAndReadFlag(String id,Integer readFlag);


    List<AttentionInfo> findByOrderIdOrderByAttentionTimeDesc(String id);

    List<AttentionInfo> findByOrderId(String id);
}
